package com.mew.lobby.message.response;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.*;

/**成就
 * @author dylin
 * @create 2021/1/27 0027
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AchievementResponseMessage extends ZebraBaseMessage<AchievementResponseMessage> {
    private long playTotal;//压注次数
    private long paymentTotal;//赔付总额
    private long onceMaxWin;//单次旋转最大得分
    @Override
    public void write(ByteBuf b) {

        writeLong(b,playTotal);
        writeLong(b,paymentTotal);
        writeLong(b,onceMaxWin);
    }

    @Override
    public AchievementResponseMessage read(ByteBuf byteBuf) {
        return null;
    }
}
